package com.ruoyi.lm.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动对象 lm_activity
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 创建人 */
    //@Excel(name = "创建人")
    private String userId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String userName;

    /** 创建人手机号 */
    @Excel(name = "创建人手机号")
    private String userPhone;

    /** 创建方式 */
    @Excel(name = "创建方式")
    private String createPath;

    /** 活动主题 */
    @Excel(name = "活动主题")
    private String activityTitle;

    /** 活动主图 */
    @Excel(name = "活动主图")
    private String activityPic;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String activityContent;

    /** 手机端活动内容 */
    @Excel(name = "手机端活动内容")
    private String activityPcontent;

    /** 手机端活动图片 */
    @Excel(name = "手机端活动图片")
    private String activityPimages;


    /** 活动地点 */
    @Excel(name = "活动地点")
    private String activityAddress;

    /** 活动地点 */
    //@Excel(name = "活动省份")
    private String activityProvince;

    /** 活动地点 */
    @Excel(name = "活动省份")
    private String provinceName;

    /** 活动地点 */
    //@Excel(name = "活动城市")
    private String activityCity;

    /** 活动地点 */
    @Excel(name = "活动城市")
    private String cityName;

    /** 活动地点 */
    //@Excel(name = "活动区域")
    private String activityDist;

    /** 活动地点 */
    @Excel(name = "活动区域")
    private String distName;

    /** 活动可参与人数 */
    @Excel(name = "活动可参与人数")
    private Integer activityMember;

    /** 活动费用 */
    @Excel(name = "活动费用")
    private Integer activityPrice;

    /** 活动状态（0保存1已审核2进行中3已结束） */
    @Excel(name = "活动状态", readConverterExp = "0=保存1已审核2进行中3已结束")
    private String activityStatus;

    /** 审批人id */
    @Excel(name = "审批人id")
    private String reviewId;

    /** 审批时间 */
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    /** 目前已参与人数 */
    @Excel(name = "目前已参与人数")
    private Integer enjoyNum;

    /** 截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    private String applyPerson;

    private String applyPhone;


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setActivityTitle(String activityTitle) 
    {
        this.activityTitle = activityTitle;
    }

    public String getActivityTitle() 
    {
        return activityTitle;
    }
    public void setActivityContent(String activityContent) 
    {
        this.activityContent = activityContent;
    }

    public String getActivityContent() 
    {
        return activityContent;
    }
    public void setActivityAddress(String activityAddress) 
    {
        this.activityAddress = activityAddress;
    }

    public String getActivityAddress() 
    {
        return activityAddress;
    }
    public void setActivityMember(Integer activityMember) 
    {
        this.activityMember = activityMember;
    }

    public Integer getActivityMember() 
    {
        return activityMember;
    }
    public void setActivityPrice(Integer activityPrice) 
    {
        this.activityPrice = activityPrice;
    }

    public Integer getActivityPrice() 
    {
        return activityPrice;
    }
    public void setActivityStatus(String activityStatus) 
    {
        this.activityStatus = activityStatus;
    }

    public String getActivityStatus() 
    {
        return activityStatus;
    }
    public void setReviewId(String reviewId) 
    {
        this.reviewId = reviewId;
    }

    public String getReviewId() 
    {
        return reviewId;
    }
    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }
    public void setEnjoyNum(Integer enjoyNum) 
    {
        this.enjoyNum = enjoyNum;
    }

    public Integer getEnjoyNum() 
    {
        return enjoyNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("activityTitle", getActivityTitle())
            .append("activityContent", getActivityContent())
            .append("activityAddress", getActivityAddress())
            .append("activityMember", getActivityMember())
            .append("activityPrice", getActivityPrice())
            .append("activityStatus", getActivityStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("reviewId", getReviewId())
            .append("reviewTime", getReviewTime())
            .append("enjoyNum", getEnjoyNum())
            .toString();
    }

    public String getCreatePath() {
        return createPath;
    }

    public void setCreatePath(String createPath) {
        this.createPath = createPath;
    }

    public String getActivityPcontent() {
        return activityPcontent;
    }

    public void setActivityPcontent(String activityPcontent) {
        this.activityPcontent = activityPcontent;
    }

    public String getActivityPimages() {
        return activityPimages;
    }

    public void setActivityPimages(String activityPimages) {
        this.activityPimages = activityPimages;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getActivityProvince() {
        return activityProvince;
    }

    public void setActivityProvince(String activityProvince) {
        this.activityProvince = activityProvince;
    }

    public String getActivityCity() {
        return activityCity;
    }

    public void setActivityCity(String activityCity) {
        this.activityCity = activityCity;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getActivityDist() {
        return activityDist;
    }

    public void setActivityDist(String activityDist) {
        this.activityDist = activityDist;
    }

    public String getDistName() {
        return distName;
    }

    public void setDistName(String distName) {
        this.distName = distName;
    }

    public String getActivityPic() {
        return activityPic;
    }

    public void setActivityPic(String activityPic) {
        this.activityPic = activityPic;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getApplyPerson() {
        return applyPerson;
    }

    public void setApplyPerson(String applyPerson) {
        this.applyPerson = applyPerson;
    }

    public String getApplyPhone() {
        return applyPhone;
    }

    public void setApplyPhone(String applyPhone) {
        this.applyPhone = applyPhone;
    }
}
